using System.ComponentModel.DataAnnotations;

namespace MvcDemo02.Models
{
    public class Student
    {
        [Required]
        [Display(Name ="编号")]
        public int Id { get; set; }
        [Display(Name ="姓名")]
        public string Name { get; set; }
        [Display(Name ="年龄")]
        public int Age { get; set; }
        [Display(Name ="是否删除")]
        public bool Isdel { get; set; }=false;
    }
}